package com.jy.api.domain;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * Created by hanxi on 2017/8/20.
 */
@Entity
@Data
@NoArgsConstructor
public class ReferralCode {
    @Id
    private long id;
    private String referralCode;
    private String mobile;
    private String idCardCode;
    @Column(insertable = false, updatable = false)
    private Date addTime;
    @Column(insertable = false, updatable = false)
    private Date updateTime;
}
